package com.party.api.utils;

/**
 * 微信开放平台常量
 * Created by wei.li
 *
 * @date 2017/8/26 0026
 * @time 10:20
 */
public class WechatPlateformConstent {


    public static final String REFRESH_AUTHORIZER_TOKEN_URL = "https://api.weixin.qq.com/cgi-bin/component/api_authorizer_token?component_access_token=COMPONENT_ACCESS_TOKEN";

    public static final String OAUTH2_ACCESS_TOKEN_URL = "https://api.weixin.qq.com/sns/oauth2/component/access_token?appid=APPID&code=CODE&grant_type=authorization_code&component_appid=COMPONENT_APPID&component_access_token=COMPONENT_ACCESS_TOKEN";

    public static final String COMPONENT_TOKEN_URL = "https://api.weixin.qq.com/cgi-bin/component/api_component_token";

    public static final String PRE_AUTH_CODE_URL = "https://api.weixin.qq.com/cgi-bin/component/api_create_preauthcode?component_access_token={0}";

    public static final String GET_AUTHORIZE_URL = "https://mp.weixin.qq.com/cgi-bin/componentloginpage?component_appid=APPID&pre_auth_code=AUTH_CODE&redirect_uri=REDIRECT_URI";

    public static final String AUTHORIZATION_INFO_URL = "https://api.weixin.qq.com/cgi-bin/component/api_query_auth?component_access_token={0}";

    public static final String AUTHORIZER_INFO_URL = "https://api.weixin.qq.com/cgi-bin/component/api_get_authorizer_info?component_access_token={0}";
}
